package com.kinghunt.misp.dal.dao.roomx;

import com.kinghunt.misp.dal.model.custx.CustDO;
import com.kinghunt.misp.dal.model.roomx.RoomDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 房间基本信息表
* Created by Mybatis Generator on 2025/02/27
*/
public interface RoomDAO {
    int deleteByPrimaryKey(Long roomId);

    int insert(RoomDO record);

    int insertSelective(RoomDO record);

    RoomDO selectByPrimaryKey(Long roomId);

    int updateByPrimaryKeySelective(RoomDO record);

    int updateByPrimaryKey(RoomDO record);
    List<RoomDO> selectRoomList(@Param("room")RoomDO room,
                                @Param("offset")int offset,
                                @Param("size")int size);

    int selectRoomListCount(@Param("room")RoomDO room);
    List<RoomDO> selectByRoomNo(@Param("roomNo")String roomNo);
}